package NumberGame;

import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        NumberGame numberGame = new NumberGame();
        numberGame.menu();
        Scanner scanner = new Scanner(System.in);
        while (true){
            System.out.print("请输入你的选择:");
            int input = scanner.nextInt();
            if(input!=1){
                break;
            }
            numberGame.game();
        }
    }
}
